package com.example.common.vo.auth;

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *      gitee 获取授权登录返回结果
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@Setter
@Getter
public class OauthGiteeAccessToken implements Serializable {

    private String accessToken;
    private String tokenType;
    private long expiresIn;
    private String refreshToken;
    private String scope;
    private long createdAt;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
